/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.ufpb.halloc.dados;

import br.com.ufpb.halloc.negocio.Disciplina;
import br.com.ufpb.halloc.negocio.Professor;
import java.util.List;

/**
 *
 * @author Filipe
 */
public interface ProfessorDAO {
    
    public void salvar(Professor p);
    public void remover(Professor p);
   // public void removerPorNome(String p);
    public void removerPorMatricula(String matricula);
    public void atualizar(Professor p);
    public Professor getProfessor(Professor p);
  //  public Professor getProfessorNome(String nome);
    public Professor getProfessorMatricula(String matricula);
    public List<Professor> getProfessores();
    public List<Professor> buscarTodosComProjeto();
    public void inserirPreferencia (String codDisc, String codProf);
    public List<Disciplina> getDisciplinasDePreferencia(String codProf);
    public void alocarDisciplia(String pro, String tur);
    public int size();
}
